package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.IUserTypeDao;
import com.cn.wanxi.dao.impl.UserTypeDaoImpl;
import com.cn.wanxi.model.UserTypeModel;
import com.cn.wanxi.service.IUserTypeService;

import java.util.List;

public class UserTypeServiceImpl implements IUserTypeService {
    IUserTypeDao userTypeDao = new UserTypeDaoImpl();
    @Override
    public List<UserTypeModel> getUserTypeList() {
        return userTypeDao.getUserTypeList();
    }

    @Override
    public UserTypeModel getUserType(int id) {
        return userTypeDao.getUserType(id);
    }
}
